<!DOCTYPE html>
<html>
<include file="Public:header" />

<body>

<script type="text/javascript" charset="utf-8">




</script>
<script type="text/javascript">
    $(function () {

        $(".datepicker-start").datepicker({
            dateFormat: 'yy-mm-dd',
            showButtonPanel: true,

        });

    })


</script>


日期：
<form action="{:U('small/stat')}">
    开始:<input class="datepicker-start" type="text" name="pdate_start" value="{$pdate_start}"/>
    结束:<input class="datepicker-start" type="text" name="pdate_end" value="{$pdate_end}"/><br/>

    <input type="submit" value="统计" class="btn btn-default">

</form>

<table class="table table-bordered table-hover definewidth m10">
    <thead>
    <tr>

        <th>日期</th>

        <th>所有数量</th>


        <th>计费成功数</th>

    </tr>
    </thead>
    <tbody>
    <foreach name="data" item="vo">
        <tr>

            <td>{$vo.today}</td>

            <td >{$vo.total_count}</td>
            <td >{$vo.success_count}</td>

        </tr>
    </foreach>

    </tbody>
</table>

</body>

</html>
